package com.zb.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zb.annotation.NumberPattern;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/9/13 0013
 **/
@Data
@ApiModel("工单模块列表对象")
public class WorkModuleListVo {
    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "模块类型：1-安装，2-维修，3-保养，4-其他")
    private Integer type;

    @ApiModelProperty(value = "模块名称")
    private String name;

    @ApiModelProperty(value = "质保天数")
    private Integer warrantyDay;

    @ApiModelProperty(value = "保内费用")
    private BigDecimal inSourcingPrice;

    @ApiModelProperty(value = "保外费用")
    private BigDecimal outSourcingPrice;

    @ApiModelProperty(value = "质保状态，是否保外：false-保内，true-保外")
    private Boolean overinsured;

    @ApiModelProperty(value = "是否移动报单端展示：false-不显示，true-显示")
    private Boolean mobileCreateOrderShow;

    @ApiModelProperty(value = "拨打电话类型：0-关闭，1-必须拨打，2-无需拨打", required = true, example = "1")
    private Integer callPhoneType;

    @ApiModelProperty(value = "预约时间类型：1-不启用，2-24小时，3-预约时间范围")
    private Integer reservationTimeType;

    @ApiModelProperty(value = "是否自动分配客服：false-否，true-是")
    private Boolean autoDispatchClient;

    @ApiModelProperty(value = "分配客服规则")
    private String workClientStrategy;

    @ApiModelProperty(value = "是否自动分配服务商：false-否，true-是")
    private Boolean autoDispatchNetwork;

    @ApiModelProperty(value = " 是否启用质保工单：false-不启用，true-启用")
    private Boolean enableWarrantyOrder;

    @ApiModelProperty(value = "是否启用结单核销码：false-不启用，true-启用")
    private Boolean enableStatementVerifCode;

    @ApiModelProperty(value = "结单核销码类型：1-随机，2-固定")
    private Integer statementVerifCodeType;

    @ApiModelProperty(value = "是否启用签到：false-关闭，true-开启")
    private Boolean enableSign;

    @ApiModelProperty(value = "签到方式：1-定位签到，2-拍照签到")
    private Integer signType;

    @ApiModelProperty(value = "是否启用挂起工单：false-关闭，true-开启")
    private Boolean enableSuspend;

    @ApiModelProperty(value = "是否自动挂起审核通过：false-人工审核，true-自动审核通过，当enableSuspend=true时生效")
    private Boolean autoCheckSuspend;

    @ApiModelProperty(value = "收货客户商品单价")
    private BigDecimal collectCustomerGoodsPrice;

    @ApiModelProperty(value = "模块状态：false-启用，true-禁用")
    private Boolean status;

    @ApiModelProperty(value = "模块报单路径")
    private String path;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
